﻿<%@ Language="C#" MasterPageFile="~/Views/Shared/MasterPage.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<FrasesSimpsonsMvc.Models.Personajes>>" %>

<asp:Content ID="Head" ContentPlaceHolderID="HeadContent" runat="server">
	<% Html.RenderPartial("BasicHeadUserControl"); %>
</asp:Content>

<asp:Content ID="Title" ContentPlaceHolderID="TitleContent" runat="server">Personajes</asp:Content>

<asp:Content ID="Main" ContentPlaceHolderID="MainContent" runat="server">
	<% Html.RenderPartial("SearchCleanUserControl"); %>

	<div class="row-responsive">
		<ul class="breadcrumb">
			<li>
				<a href="<%= Url.Action("Index", "Home") %>">Home</a> <span class="divider">/</span>
			</li>
			<li class="active">Personajes</li>
		</ul>
	</div>

	<div class="row-responsive">
		<h2>Personajes</h2>

		<% foreach (var personaje in Model)
		   { %>          
		<span class="label label-info tall"><a class="label-link" href="<%= Url.Action("Detail", "Personaje", new { Id = personaje.Id })%>"><%= personaje.Nombre %></a></span>
		<% } %>
	</div>

	
</asp:Content>

